﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- Sample DB-first config file, does not point to any real database. -->
<Entitygen>
  <Provider>MSSQL</Provider>
  <ConnectionString>Data Source=.;Initial Catalog=MyDatabase;Integrated Security=True</ConnectionString>
  
  <!-- The file path to save the generated code. -->
  <OutputPath>C:\EntitiesFile.cs</OutputPath>
  <!-- .NET namespace for the generated code. -->
  <Namespace>Vita.Samples.BooksSampleGenerated</Namespace>
  <!-- The class name of the entity app class. -->
  <AppClassName>MyEntityApp</AppClassName>
  <!-- Comma-delimited list of schema names in database to include in code generation. If empty, all schemas are included. -->
  <Schemas>dbo</Schemas>
  <!-- Generation options. Comma-delimited list of DbFirstOptions enum values -->
  <Options>AutoOnGuidPrimaryKeys, AddOneToManyLists, GenerateConsoleAppCode </Options>
  <!-- AutoValues lists column/property names that are auto-values (automatically handled by framework or database). The code generator adds 
     [Auto(AutoType.*)] attribute to matching properties. The value is a list of pairs columnName:AutoType. -->
  <AutoValues>created_dtm:CreatedOn,create_user_id:CreatedBy</AutoValues>
  <!-- Force specific data type on columns; comma-delimited list of <column-name>:<full-type-name> pairs  -->
  <ForceDataTypes>created_dtm:System.DateTime,created_by:System.Guid</ForceDataTypes>
  <!-- List of tables to ignore -->
  <IgnoreTables></IgnoreTables>
</Entitygen>